# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=py3-txacme
pkgver=0.9.3
pkgrel=0
pkgdesc="ACME protocol implementation for Twisted"
options="!check" # Requires unpackaged dependencies
url="https://github.com/mithrandi/txacme"
arch="noarch"
license="MIT"
depends="
	python3
	py3-acme
	py3-attrs
	py3-eliot
	py3-josepy
	py3-pem
	py3-treq
	py3-twisted
	py3-txsni
	py3-openssl
	"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/twisted/txacme/archive/$pkgver.tar.gz"
builddir="$srcdir/txacme-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="b0a6c6401a9a6d8f8a59c29e34aaf398778f327f5907d4406273b4d0fce6c8449d388a5a687efb25bab5799fd7ddf9a0e2ce482a9b1457d93875a05f593dfa1c  py3-txacme-0.9.3.tar.gz"
